﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Xml;
using System.Configuration;

namespace XProject.DataVisit.BLL
{
    public class Config
    {
        /// <summary>
        /// 获取设置的服务器路径
        /// </summary>
        /// <returns></returns>
        public string GetConfig()
        {
            XmlDocument xd = new XmlDocument();
            xd.Load(HttpContext.Current.Server.MapPath("../")+"/Config.xml");
            XmlNode xn=xd.SelectSingleNode("ServerUrl");
            return xn.InnerText;
        }
    }
}
